package cn.edu.ctbu.simplescoremanagementsystem.repository;

import cn.edu.ctbu.simplescoremanagementsystem.domain.Student;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StudentRepository extends JpaRepository<Student,Integer> {
    List<Student> findBySnoAndPassword(String id, String password);
    List<Student> findBySno(String username);
}
